Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change the timing of sdk context destruction. #1123

Conversation

shuiqingliu
Copy link
Contributor

PR Type

Bugfix

Describe what this PR does for and how you did.

Move the SDK context destroy invocation from Polaris config to Polaris context in order to complete context destruction

Adding the issue link (#xxx) if possible.

Note

Checklist

  • Add information of this PR to CHANGELOG.md in root of project.
  • Add documentation in javadoc or comment below the PR if necessary.

Checklist (Optional)

  • Will pull request to branch of 2020.0.
  • Will pull request to branch of 2022.0.

@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Merging #1123 (44b9388) into 2021.0 (a7672c4) will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             2021.0    #1123      +/-   ##
============================================
- Coverage     81.20%   81.13%   -0.07%     
+ Complexity     1683     1682       -1     
============================================
  Files           252      252              
  Lines          5729     5726       -3     
  Branches        674      673       -1     
============================================
- Hits           4652     4646       -6     
- Misses          688      691       +3     
  Partials        389      389              
Files Changed Coverage Δ
...polaris/config/PolarisConfigAutoConfiguration.java 100.00% <ø> (ø)
...ontext/config/PolarisContextAutoConfiguration.java 100.00% <100.00%> (ø)
...stener/PolarisContextApplicationEventListener.java 66.66% <100.00%> (ø)

... and 1 file with indirect coverage changes

@SkyeBeFreeman SkyeBeFreeman merged commit 7c5f3d1 into Tencent:2021.0 Sep 20, 2023
8 of 9 checks passed
@SkyeBeFreeman SkyeBeFreeman added this to the 1.13.0 milestone Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Polaris' connect did not automatically stop when spring boot application has stopped
2 participants